package com.gome.ocean.dao.model.yugong;

import com.gome.ocean.dao.model.authority.BaseOnProjectEntity;

/**
 * @作者 haqiaolong
 * @创建时间 2016-04-26 14:23:41
 * @版本 1.00
 * @修改记录
 */
public class YgTaskBO extends BaseOnProjectEntity {

    /**
     * @Fields serialVersionUID : TODO
     */
    private static final long serialVersionUID = 1L;

    /** 所在机器 */
    private Long              managerId;

    /** 当前状态 */
    private String            state;

    private int               isRocketMqTarget;

    /** 源数据源id */
    private Long              sourceDatasourceId;

    /** 目标数据源id */
    private Long              targetDatasourceId;
    /** 表名 */
    private String            tableName;

    /** 配置文件内容 */
    private String            context;

    /** 迁移模式 */
    private Integer           moveMode;

    public String getContext() {
        return context;
    }

    public void setContext(String context) {
        this.context = context;
    }

    public Long getManagerId() {
        return this.managerId;
    }

    public void setManagerId(Long managerId) {
        this.managerId = managerId;
    }

    public String getState() {
        return this.state;
    }

    public void setState(String state) {
        this.state = state;
    }

    public Long getSourceDatasourceId() {
        return this.sourceDatasourceId;
    }

    public void setSourceDatasourceId(Long sourceDatasourceId) {
        this.sourceDatasourceId = sourceDatasourceId;
    }

    public Long getTargetDatasourceId() {
        return this.targetDatasourceId;
    }

    public void setTargetDatasourceId(Long targetDatasourceId) {
        this.targetDatasourceId = targetDatasourceId;
    }

    public String getTableName() {
        return this.tableName;
    }

    public void setTableName(String tableName) {
        this.tableName = tableName;
    }

    public Integer getMoveMode() {
        return this.moveMode;
    }

    public void setMoveMode(Integer moveMode) {
        this.moveMode = moveMode;
    }

    public int getIsRocketMqTarget() {
        return isRocketMqTarget;
    }

    public void setIsRocketMqTarget(int isRocketMqTarget) {
        this.isRocketMqTarget = isRocketMqTarget;
    }

}
